package com.jason.lightreader.response;

public enum Code {

    SUCCEED(200,"执行成功！"),

    FAILED(400,"执行失败！"),

    ERROR(500,"出现错误！"),
    ;
    private final Integer code;
    private final String msg;
    Code(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
